package business;

import java.util.List;

import vo.SourceCategory;

public interface SourceCategoryService {

	List<SourceCategory> getAllSourceCategories();

	List<SourceCategory> getAllSourceCategories(int start, int pageSize);

	List<SourceCategory> getByName(String name);

	long getTotalCount();

	void addSourceCategory(String name);

	void addSourceCategory(SourceCategory sourceCategory);

	SourceCategory getById(long id);

	SourceCategory getByNameSourceId(String name, long sourceId);

	void update(SourceCategory sc);

	void delete(SourceCategory sc);

}
